home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Programmer Power Tools
/
Programmer Power Tools.iso
/
progjrn
/
pj_6_4.arc
/
L4.ASM
< prev
next >
Wrap
Assembly Source File
|
1988-04-02
|
471b
|
39 lines
; *** Listing 4 ***
;
; Sample code to illustrate various approaches to generating local
; symbols within REPT loops that don't seem to work with MASM 5.0.
;
dosseg
.model small
.code
mac1 macro
rept 10
local testlabel
jmp testlabel
testlabel:
endm
endm
mac2 macro
local testlabel
rept 10
jmp testlabel
testlabel:
endm
endm
start:
mac1
mac2
rept 10
local testlabel
jmp testlabel
testlabel:
endm
end start